package cn.com.nes.common.util;

/**
 * @author yueb
 * @date 2019-01-16 15:13
 */
public class PublicWorkOrderStatusUtils {

    public static String getWorkOrderStatusDesc (int workOrderStatus ,int  lastWorkOrderStatus){
        String result = "";
        if(workOrderStatus ==0 && lastWorkOrderStatus == -1){
            result = "创建工单";
        }else if(workOrderStatus ==0 && lastWorkOrderStatus != -1){
            result = "工单被拒绝,待分配";
        }else if(workOrderStatus ==1){
            result = "待支援";
        }else if(workOrderStatus ==2){
            result = "已派单";
        }else if(workOrderStatus ==3){
            result = "回访完成";
        }else if(workOrderStatus ==4){
            result = "工单已关闭";
        }else if(workOrderStatus ==5){
            result = "已拒单";
        }else if(workOrderStatus ==6){
            result = "工单已处理完成,待回访";
        }
        return result;
    }


}
